﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StatusDto
{
    public class PageDto<T> where T : class, new()
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int pageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 总数据
        /// </summary>
        public int totalCount { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pagedCount { get; set; }
        /// <summary>
        /// 分页信息
        /// </summary>
        public List<T> Data { get; set; } = new List<T>();
    }
}
